<!DOCTYPE html>
<html>
<head>
	<title>typeof function</title>
</head>
<body>
	<p id="demo"></p>
	<script>
		document.getElementById('demo').innerHTML =
		typeof function myFunc(){};
	</script>

</body>
</html>